//
//  viewExtent.swift
//  JCNewsForMac
//
//  Created by ifly on 13/7/18.
//  Copyright © 2018年 Ismail. All rights reserved.
//

import Foundation
import Cocoa


extension NSTextField{
    
    /// 使用textFild 变成lable
    func jcMakeLable(_ jcFont:CGFloat) -> Void {
        
        self.isEditable = false
        self.isBordered = false
        self.backgroundColor = NSColor.clear
        self.font = NSFont.systemFont(ofSize: jcFont)
    }
    
}
